class AddCreatorToQuizzes < ActiveRecord::Migration[5.2]
  def change
    change_table :quizzes do |t|
      t.belongs_to :creator, foreign_key: {to_table: :users}
    end
  end
end
